package org.mybatis.spring.config;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * Mybatis命名空间处理器，用来指定scan标签的分析器
 * Namespace handler for the MyBatis namespace.
 *
 * @author Lishu Luo
 *
 * @see MapperScannerBeanDefinitionParser
 * @since 1.2.0
 * @version $Id$
 */
public class NamespaceHandler extends NamespaceHandlerSupport {

  /**
   * {@inheritDoc}
   */
  public void init() {
    registerBeanDefinitionParser("scan", new MapperScannerBeanDefinitionParser());
  }

}
